package com.jk.smartelderlycare.service;

import com.jk.smartelderlycare.dto.SysSign;
import com.jk.smartelderlycare.dto.SysSlider;
import com.jk.smartelderlycare.pojo.PagedResponse;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * @Description 添加描述
 * @Author hhk
 * @LastChangeDate 2024/11/19 17:19
 * @Version v1.0
 */
public interface SysSliderService {

    /**
     * @description: 轮播图后端分页查询
     * @param: [sysSign, pageNum, pageSize]
     * @return: com.jk.smartelderlycare.pojo.PagedResponse<com.jk.smartelderlycare.dto.SysSlider>
     * @author hhk
     * @date: 2024/11/19 17:10
     */

    public PagedResponse<SysSlider> findSysSliderPaginationList(SysSlider sysSlider,Integer pageNum ,  Integer pageSize);
    /**
     * @description: 新增轮播图
     * @param: [sysSlider]
     * @return: void
     * @author hhk
     * @date: 2024/11/19 17:10
     */

    public void addSlider( SysSlider sysSlider);
    /**
     * @description: 根据id删除一条数据
     * @param: [sliderId]
     * @return: void
     * @author hhk
     * @date: 2024/11/19 17:11
     */

    public void deleteSysSliderById( Long sliderId);
    /**
     * @description: 根据id回显一条数据
     * @param: [sliderId]
     * @return: com.jk.smartelderlycare.dto.SysSlider
     * @author hhk
     * @date: 2024/11/19 17:12
     */

    public SysSlider findSysSliderById( Long sliderId);
    /**
     * @description: 修改轮播图
     * @param: [sysSlider]
     * @return: void
     * @author hhk
     * @date: 2024/11/19 17:13
     */

    public void updateSysSlider( SysSlider sysSlider);
    /**
     * @description: 状态修改
     * @param: [sysSlider]
     * @return: void
     * @author hhk
     * @date: 2024/11/19 17:15
     */

    public void updataStutas( SysSlider sysSlider);

    /**
     * @description: 批量删除
     * @param: [sliderId]
     * @return: void
     * @author hhk
     * @date: 2024/11/19 19:21
     */

    public void deleteSysSliderByIds(List<Long> ids);
}
